﻿// <copyright file="UserModelOld.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>

namespace MesAPI.Models.UserAndRole
{
    /// <summary>
    /// 用户模型.
    /// </summary>
    public class UserModelOld
    {
        /// <summary>
        /// Gets or sets 登录名.
        /// </summary>
       public string? LoginName { get; set; }

        /// <summary>
        /// Gets or sets 用户名.
        /// </summary>
       public string? UserName { get; set; }

        /// <summary>
        /// Gets or sets 密码.
        /// </summary>
       public string? Password { get; set; }

        /// <summary>
        /// Gets or sets 描述/备注.
        /// </summary>
       public string? Description { get; set; }

        /// <summary>
        /// Gets or sets 部门id.
        /// </summary>
       public string? DepId { get; set; }

        /// <summary>
        /// Gets or sets UserId.
        /// </summary>
       public string? UserId { get; set; }

        /// <summary>
        /// Gets or sets GroupType.
        /// </summary>
       public string? GroupType { get; set; }

        /// <summary>
        /// Gets or sets ProductGroup.
        /// </summary>
       public string? ProductGroup { get; set; }
    }

    public class DeptDictModel
    {
        public static Dictionary<string, string> DetNameid = new()
        {
            { "1", "成品仓 " },
            { "2", "维修部" },
            { "3", "退货部" },
        };
    }
}
